package com.mark.springbootshiro.controller;

import com.mark.springbootshiro.common.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: MARK
 * @Date: 2019/8/22 08:23
 * @Version: 1.0.0
 * @Description:
 */
@RestController
@Slf4j
@RequestMapping(value = "/admin", produces = {"application/json;charset=UTF-8"})
public class UserController {

    @GetMapping("/admin")
    public Result getAll(){
        log.info("进来了");
        return Result.ok("成功");
    }
}
